from django.db import models

# Create your models here.

class Lessons(models.Model):
    lessons = models.IntegerField(default=0)
    total_lessons = models.IntegerField(default=0)

class Users(models.Model):
    userid = models.CharField(max_length=20, primary_key=True)
    password = models.CharField(max_length=100)
    token = models.CharField(max_length=100, null=True)
    lesson = models.BooleanField(default=False)
    log = models.CharField(max_length=100)

class Admins(models.Model):
    userid = models.CharField(max_length=20, primary_key=True)
    password = models.CharField(max_length=100)
    token = models.CharField(max_length=100, null=True)

# class Admins(models.Model):
#     userid = models.CharField(max_length=20, primary_key=True)
#     password = models.CharField(max_length=100)
#     token = models.CharField(max_length=100, null=True)



